Category: Geeks r Us
Hi. I didn't know what title to give to this and i hope you understand what i mean after i explain here.
I was wondering if there is a way to create a text file containing the file names in a folder. For example if i have a bigg folder with documents and i want to send a list of them to my friend to see if there is anything interesting from there..
I hope you understand what i mean. If you don't let me know and i will try and explain better.
Thanks
hi nicos,
give this topick the title creating bigger lists and send it to your friends.
Hi.
I don't even know how to make small lists lol. The only way i know is to type out the names of the documents but if there are a lot it would take time. I am sure it must be a quicker way of doing it.
If you know how to use dos you can do this.
To get into dos just go to start menu, press r for run and then type cmd and hit enter. Jaws does not work that well in the dos mode but I think it's ok for your purposes.
Once you've done this you can type cd c:MyFolder and hit enter (MyFolder is the folder you want to export to a text file, if you have that inside a folder you type c:FolderMyFolder and hit enter).
Now you can type dir > FileNames.txt and hit enter. This will export all the info (file name and creation date of each file) into a text file called FileNames.txt. That file is also inside the folder. Now you can type exit and hit enter to get out of dos mode and back into Windows. You cn open this file with Word or Notepad or whatever you prefer and send it to a friend.
I hope this helps
-B
Thanks a lot. Very usefull. I learned dos in the past but forgot some of it.
I use sometimes the ren command to change extentions of files since it is more difficult to do it with windows lol.
If you wish to export solely the names of your items, use the '/b' switch.
Thanks. Never heard of the /b swich.
do we use it in the same line with the rest of the command such as dir > filename.txt or on its own in a separate line before we type the other commant?
Your line would look something like this:
dir /b *.*
Ok thanks a lot. Very helpfull.
Glad to be of help, Nikos.
Under dos if you type dir /? (that's dir slash followed by a question mark) it will give you the syntax of the dir command. You will see that it has a lot of options to it.
I also use a program called "directory lister" from this link.
If my link doesn't work here (sometimes it does sometimes it doesn't) the url is http://www.krksoft.com/
This little program lets you select multiple directories, sorted in a variety of ways, and you can output as a csv, txt or html file. It's not super jaws friendly, but can be navigated with a little help from the jaws cursor.
Hope this helps.
Bob
Or you could go to www.jfwlite.com and download a program called Copy Path. It adds some commands to your applacations menu that allows you to copy the full path or file name(s) to the clip board instead of the intire file.
Thanks Bob and Nem. Both programmes sound very interesting. I will check them out.
Nem, I tried the copy path command, but never could get it to work. Any thoughts?
Bob
Bob I had trouble the first time I ran the program as well. JFW lite has help for it under it's helpful tips link on the home page. assuming you installed it correctly I would try restarting my computer so the changes take effect. Then give it a whorl.
Okay, thanks I'll check it out.
Bob